package com.ruoyi.system.service;

import com.ruoyi.system.domain.info.AppVersionInfo;
import com.ruoyi.system.domain.info.DataPackageInfo;
import com.ruoyi.system.domain.info.PackageInfo;
import com.ruoyi.system.domain.vo.AppVersionUploadResult;

import java.io.IOException;
import java.io.InputStream;

public interface IAppPackageService {


    PackageInfo processPackageUpload(InputStream inputStream, String originalFilename, String fileHash, double fileSizeMB, String formattedSize) throws IOException;

    AppVersionUploadResult processPackageVersionUpload(InputStream inputStream, String originalFilename, String fileHash, double fileSizeMB, String formattedSize) throws IOException;

    DataPackageInfo processPackageDataUpload(InputStream inputStream, String originalFilename, String fileHash, double fileSizeMB, String formattedSize) throws IOException;
}
